<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Menu extends Model
{

    /** 表名 */
    protected $table = 'menu';

    /** 主键 id */
    protected $primaryKey = 'id';

    public $timestamps = false;

    protected $fillable = [
        'id',
        'parentId',
        'menuType',
        'title',
        'name',
        'path',
        'component',
        'rank',
        'redirect',
        'icon',
        'extraIcon',
        'enterTransition',
        'leaveTransition',
        'activePath',
        'auths',
        'frameSrc',
        'frameLoading',
        'keepAlive',
        'hiddenTag',
        'fixedTag',
        'showLink',
        'showParent',
        'createTime',
    ];
}
